Optimal. Leaf size=139 \[ \frac{\sqrt{c x-1} \cosh \left (\frac{2 a}{b}\right ) \text{Chi}\left (\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{2 b c^3 \sqrt{1-c x}}-\frac{\sqrt{c x-1} \sinh \left (\frac{2 a}{b}\right ) \text{Shi}\left (\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{2 b c^3 \sqrt{1-c x}}+\frac{\sqrt{c x-1} \log \left (a+b \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.631826, antiderivative size = 178, normalized size of antiderivative = 1.28, number of steps used = 7, number of rules used = 6, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5798, 5781, 3312, 3303, 3298, 3301} \[ \frac{\sqrt{c x-1} \sqrt{c x+1} \cosh \left (\frac{2 a}{b}\right ) \text{Chi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}-\frac{\sqrt{c x-1} \sqrt{c x+1} \sinh \left (\frac{2 a}{b}\right ) \text{Shi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}+\frac{\sqrt{c x-1} \sqrt{c x+1} \log \left (a+b \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5781
Rule 3312
Rule 3303
Rule 3298
Rule 3301
Rubi steps
\begin{align*} \int \frac{x^2}{\sqrt{1-c^2 x^2} \left (a+b \cosh ^{-1}(c x)\right )} \, dx &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{x^2}{\sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )} \, dx}{\sqrt{1-c^2 x^2}}\\ &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\cosh ^2(x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{c^3 \sqrt{1-c^2 x^2}}\\ &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \left (\frac{1}{2 (a+b x)}+\frac{\cosh (2 x)}{2 (a+b x)}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3 \sqrt{1-c^2 x^2}}\\ &=\frac{\sqrt{-1+c x} \sqrt{1+c x} \log \left (a+b \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}+\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\cosh (2 x)}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^3 \sqrt{1-c^2 x^2}}\\ &=\frac{\sqrt{-1+c x} \sqrt{1+c x} \log \left (a+b \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}+\frac{\left (\sqrt{-1+c x} \sqrt{1+c x} \cosh \left (\frac{2 a}{b}\right )\right ) \operatorname{Subst}\left (\int \frac{\cosh \left (\frac{2 a}{b}+2 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^3 \sqrt{1-c^2 x^2}}-\frac{\left (\sqrt{-1+c x} \sqrt{1+c x} \sinh \left (\frac{2 a}{b}\right )\right ) \operatorname{Subst}\left (\int \frac{\sinh \left (\frac{2 a}{b}+2 x\right )}{a+b x} \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^3 \sqrt{1-c^2 x^2}}\\ &=\frac{\sqrt{-1+c x} \sqrt{1+c x} \cosh \left (\frac{2 a}{b}\right ) \text{Chi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}+\frac{\sqrt{-1+c x} \sqrt{1+c x} \log \left (a+b \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}-\frac{\sqrt{-1+c x} \sqrt{1+c x} \sinh \left (\frac{2 a}{b}\right ) \text{Shi}\left (\frac{2 a}{b}+2 \cosh ^{-1}(c x)\right )}{2 b c^3 \sqrt{1-c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.261181, size = 99, normalized size = 0.71 \[ -\frac{\sqrt{1-c^2 x^2} \left (\cosh \left (\frac{2 a}{b}\right ) \text{Chi}\left (2 \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )\right )-\sinh \left (\frac{2 a}{b}\right ) \text{Shi}\left (2 \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )\right )+\log \left (a+b \cosh ^{-1}(c x)\right )\right )}{2 c^3 \sqrt{\frac{c x-1}{c x+1}} (b c x+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.166, size = 232, normalized size = 1.7 \begin{align*}{\frac{1}{4\,{c}^{3} \left ({c}^{2}{x}^{2}-1 \right ) b}\sqrt{-{c}^{2}{x}^{2}+1} \left ( \sqrt{cx+1}\sqrt{cx-1}xc+{c}^{2}{x}^{2}-1 \right ){\it Ei} \left ( 1,2\,{\rm arccosh} \left (cx\right )+2\,{\frac{a}{b}} \right ){{\rm e}^{-{\frac{b{\rm arccosh} \left (cx\right )-2\,a}{b}}}}}+{\frac{1}{4\,{c}^{3} \left ({c}^{2}{x}^{2}-1 \right ) b}\sqrt{-{c}^{2}{x}^{2}+1} \left ( \sqrt{cx+1}\sqrt{cx-1}xc+{c}^{2}{x}^{2}-1 \right ){\it Ei} \left ( 1,-2\,{\rm arccosh} \left (cx\right )-2\,{\frac{a}{b}} \right ){{\rm e}^{-{\frac{b{\rm arccosh} \left (cx\right )+2\,a}{b}}}}}-{\frac{\ln \left ( a+b{\rm arccosh} \left (cx\right ) \right ) }{2\,{c}^{3} \left ({c}^{2}{x}^{2}-1 \right ) b}\sqrt{-{c}^{2}{x}^{2}+1}\sqrt{cx-1}\sqrt{cx+1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{-c^{2} x^{2} + 1}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-c^{2} x^{2} + 1} x^{2}}{a c^{2} x^{2} +{\left (b c^{2} x^{2} - b\right )} \operatorname{arcosh}\left (c x\right ) - a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{- \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{-c^{2} x^{2} + 1}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]